home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pctchnqs
/
1990
/
number2
/
mouse.h
< prev
next >
Wrap
Text File
|
1990-03-25
|
572b
|
17 lines
/* mouse.h
*/
#define RESET_MOUSE 0
#define SHOW_MOUSE 1
#define HIDE_MOUSE 2
#define GET_MOUSE_STATUS 3
#define PRESSED 5 /* Button presses */
#define RELEASED 6 /* Button releases */
#define LEFT_BUTTON 0 /* Use left button */
/* The function prototypes for the functions in mouse.c */
void mouse(int *m1, int *m2, int *m3, int *m4);
int initmouse(void);
void getmousecoords(int *x, int *y);
void mousestatus(int stateofmouse);
int buttonstatus(int condition, int whichbutton);